import React from 'react'
import "./style.less"
import Star from "../../../../components/Star"

export default function Item ({ data }) {
  return (
    <div className="comment-item">
      {/* {data.username} */}
      {/* data.star */}
      <h3>
        <i className="icon-user"></i>
        {data.username}
      </h3>
      <Star num={data.star} />
      <p>{data.comment}</p>
    </div>
  )
}
